/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package slcu.model;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * This class is used by SOAP remote services.
 *
 * @author    tito
 * @generated
 */
public class NotificacionRechazoSoap implements Serializable {
	public static NotificacionRechazoSoap toSoapModel(NotificacionRechazo model) {
		NotificacionRechazoSoap soapModel = new NotificacionRechazoSoap();

		soapModel.setNotificacionId(model.getNotificacionId());
		soapModel.setDeportistaId(model.getDeportistaId());
		soapModel.setSuscriptorUserId(model.getSuscriptorUserId());
		soapModel.setRechazadorUserId(model.getRechazadorUserId());
		soapModel.setCreateDate(model.getCreateDate());
		soapModel.setComentario(model.getComentario());

		return soapModel;
	}

	public static NotificacionRechazoSoap[] toSoapModels(
		NotificacionRechazo[] models) {
		NotificacionRechazoSoap[] soapModels = new NotificacionRechazoSoap[models.length];

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModel(models[i]);
		}

		return soapModels;
	}

	public static NotificacionRechazoSoap[][] toSoapModels(
		NotificacionRechazo[][] models) {
		NotificacionRechazoSoap[][] soapModels = null;

		if (models.length > 0) {
			soapModels = new NotificacionRechazoSoap[models.length][models[0].length];
		}
		else {
			soapModels = new NotificacionRechazoSoap[0][0];
		}

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModels(models[i]);
		}

		return soapModels;
	}

	public static NotificacionRechazoSoap[] toSoapModels(
		List<NotificacionRechazo> models) {
		List<NotificacionRechazoSoap> soapModels = new ArrayList<NotificacionRechazoSoap>(models.size());

		for (NotificacionRechazo model : models) {
			soapModels.add(toSoapModel(model));
		}

		return soapModels.toArray(new NotificacionRechazoSoap[soapModels.size()]);
	}

	public NotificacionRechazoSoap() {
	}

	public long getPrimaryKey() {
		return _notificacionId;
	}

	public void setPrimaryKey(long pk) {
		setNotificacionId(pk);
	}

	public long getNotificacionId() {
		return _notificacionId;
	}

	public void setNotificacionId(long notificacionId) {
		_notificacionId = notificacionId;
	}

	public long getDeportistaId() {
		return _deportistaId;
	}

	public void setDeportistaId(long deportistaId) {
		_deportistaId = deportistaId;
	}

	public long getSuscriptorUserId() {
		return _suscriptorUserId;
	}

	public void setSuscriptorUserId(long suscriptorUserId) {
		_suscriptorUserId = suscriptorUserId;
	}

	public long getRechazadorUserId() {
		return _rechazadorUserId;
	}

	public void setRechazadorUserId(long rechazadorUserId) {
		_rechazadorUserId = rechazadorUserId;
	}

	public Date getCreateDate() {
		return _createDate;
	}

	public void setCreateDate(Date createDate) {
		_createDate = createDate;
	}

	public String getComentario() {
		return _comentario;
	}

	public void setComentario(String comentario) {
		_comentario = comentario;
	}

	private long _notificacionId;
	private long _deportistaId;
	private long _suscriptorUserId;
	private long _rechazadorUserId;
	private Date _createDate;
	private String _comentario;
}